$OpenBSD: patch-fpcsrc_rtl_openbsd_ptypes_inc,v 1.1 2013/08/18 09:21:59 pascal Exp $

Update ino_t, clock_t and time_t to 64bit types.  Correct struct timeval.

--- fpcsrc/rtl/openbsd/ptypes.inc.orig	Fri Aug 16 17:44:09 2013
+++ fpcsrc/rtl/openbsd/ptypes.inc	Fri Aug 16 17:44:14 2013
@@ -33,7 +33,7 @@ type
     pGid     = ^gid_t;
     TIOCtlRequest = cuLong;
 
-    ino_t    = cuint32;         { used for file serial numbers }
+    ino_t    = cuint64;         { used for file serial numbers }
     TIno     = ino_t;
     pIno     = ^ino_t;
 
@@ -70,11 +70,11 @@ type
     wchar_t  = cint32;
     pwchar_t = ^wchar_t;
 
-    clock_t  = culong;
+    clock_t  = cint64;
     TClock   = clock_t;
     pClock   = ^clock_t;
 
-    time_t   = clong;           { used for returning the time  }
+    time_t   = cint64;           { used for returning the time  }
     // TTime    = time_t;    // Not allowed in system unit, -> unixtype
     pTime    = ^time_t;
     ptime_t  = ^time_t;
@@ -84,7 +84,7 @@ type
     pSocklen = ^socklen_t;
 
     timeval = packed record
-                tv_sec,
+                tv_sec : time_t;
                 tv_usec : clong;
                 end;
     ptimeval= ^timeval;
